//
//  internalDictController.h
//  Words2
//
//  Created by Mathieu Tozer on 16/09/06.
//  Copyright 2006 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <Foundation/Foundation.h>

@class DictionaryMO;

@interface internalDictController : NSArrayController {
	
#pragma mark Interface Outlets
	IBOutlet NSTabView *dictTypeTabView;

#pragma mark Dictionary
	IBOutlet NSTextField* capabilities;
	IBOutlet NSTextField* pivotLanguage; //depreciated
	IBOutlet NSTextField* targetLanguages; //depreciated
	IBOutlet NSTextField* dictionaryName;
	IBOutlet NSTextField* localisedName;
	IBOutlet NSButton* isRemote;

#pragma mark DictProtocolDict Outlets
	IBOutlet NSTextField* server; //dict.org
	IBOutlet NSTextField* database; //eng-fra
	IBOutlet NSTextField* username; //mbtoz1
	IBOutlet NSTextField* password; //*****
	IBOutlet NSTextField* client;
	IBOutlet NSTextField* timeout;
	
#pragma mark EdictDictionary Outlets
	IBOutlet NSTextField *edictLocation;
	
#pragma mark StardictDict Outlets	
	IBOutlet NSTextField *stardictLocation;
	IBOutlet NSTextField *stardictIndexLocation;
		
	IBOutlet NSTextView *tempView;
	IBOutlet NSTextField *word;
}

-(IBAction)addDictProtocolDict:(id)sender;
//-(IBAction)addEdictDict:(id)sender;
-(IBAction)addStardictDict:(id)sender;

-(void)setCommonValues:(DictionaryMO *)newDict;


#pragma mark Import / Export Dictionaries
- (IBAction)exportDictionary:(id)sender;
- (IBAction)importDictionary:(id)sender;
@end
